package framework.utils;

import framework.config.Configs;
import android.os.Environment;

public class SDCardUtils {
	public static boolean sdCardCanUse() {
		return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED) && !Configs.IS_CACHE_LOCAL;
	}

	public static String getSdCardAbsolutePath() {
		return Environment.getExternalStorageDirectory().getAbsolutePath();
	}
}
